<?php 
if (isset($_POST['d'])){
	$d=$_POST['d'];
	$s=$_POST['s'];
	if ('上海选区' == $s){
	    $file='../c/xue.txt';
	}else{
	    $file='../c/xue2.txt';
	}
	$data=json_decode(file_get_contents($file), true);
	 
	echo json_encode($data[$d]);
}
?>